package com.sss.demo.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sss.demo.db.dao.IUserDao;
import com.sss.demo.db.pojo.UserVo;
import com.sss.demo.web.service.IUserService;

@Service
public class UserServiceImpl implements IUserService {

	@Autowired
	private IUserDao userDao;
	@Override
	public List<UserVo> getAllUsers() {
		
		return userDao.getAllUser();
	}

}
